Detection Sensor Config
class DetectionSensorConfig : GeneratedMessage, ModuleConfigProtos.ModuleConfig.DetectionSensorConfigOrBuilder
Detection Sensor Module Config
Content copied to clipboard
meshtastic.ModuleConfig.DetectionSensorConfig
Types
Link copied to clipboard
class Builder : GeneratedMessage.Builder<BuilderT> , ModuleConfigProtos.ModuleConfig.DetectionSensorConfigOrBuilder
Detection Sensor Module Config
Content copied to clipboard
meshtastic.ModuleConfig.DetectionSensorConfig
Link copied to clipboard
Protobuf enum
meshtastic.ModuleConfig.DetectionSensorConfig.TriggerType
Properties
Functions
Link copied to clipboard
inline fun ModuleConfigProtos.ModuleConfig.DetectionSensorConfig.copy(block: ModuleConfigKt.DetectionSensorConfigKt.Dsl.() -> Unit): ModuleConfigProtos.ModuleConfig.DetectionSensorConfig
inline fun ModuleConfigProtos.ModuleConfig.DetectionSensorConfig.copy(block: ModuleConfigKt.DetectionSensorConfigKt.Dsl.() -> Unit): ModuleConfigProtos.ModuleConfig.DetectionSensorConfig
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDetectionTriggerType(): ModuleConfigProtos.ModuleConfig.DetectionSensorConfig.TriggerType
The type of trigger event to be used
Content copied to clipboard
.meshtastic.ModuleConfig.DetectionSensorConfig.TriggerType detection_trigger_type = 7;
Link copied to clipboard
The type of trigger event to be used
Content copied to clipboard
.meshtastic.ModuleConfig.DetectionSensorConfig.TriggerType detection_trigger_type = 7;
Link copied to clipboard
Whether the Module is enabled
Content copied to clipboard
bool enabled = 1;
Link copied to clipboard
Interval in seconds of how often we can send a message to the mesh when a
trigger event is detected
Content copied to clipboard
uint32 minimum_broadcast_secs = 2;
Link copied to clipboard
GPIO pin to monitor for state changes
Content copied to clipboard
uint32 monitor_pin = 6;
Link copied to clipboard
Friendly name used to format message sent to mesh
Example: A name "Motion" would result in a message "Motion detected"
Maximum length of 20 characters
Content copied to clipboard
string name = 5;
Link copied to clipboard
Link copied to clipboard
Send ASCII bell with alert message
Useful for triggering ext. notification on bell
Content copied to clipboard
bool send_bell = 4;
Link copied to clipboard
Link copied to clipboard
Interval in seconds of how often we should send a message to the mesh
with the current state regardless of trigger events When set to 0, only
trigger events will be broadcasted Works as a sort of status heartbeat
for peace of mind
Content copied to clipboard
uint32 state_broadcast_secs = 3;
Link copied to clipboard
Whether or not use INPUT_PULLUP mode for GPIO pin
Only applicable if the board uses pull-up resistors on the pin
Content copied to clipboard
bool use_pullup = 8;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): ModuleConfigProtos.ModuleConfig.DetectionSensorConfig
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): ModuleConfigProtos.ModuleConfig.DetectionSensorConfig
Link copied to clipboard
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): ModuleConfigProtos.ModuleConfig.DetectionSensorConfig
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): ModuleConfigProtos.ModuleConfig.DetectionSensorConfig
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): ModuleConfigProtos.ModuleConfig.DetectionSensorConfig
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): ModuleConfigProtos.ModuleConfig.DetectionSensorConfig
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): ModuleConfigProtos.ModuleConfig.DetectionSensorConfig
Link copied to clipboard
Link copied to clipboard